<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * App\ToutiaoLead
 *
 * @property string|null $adv_id
 * @property int $id
 * @property int|null $store_id
 * @property int|null $clue_source
 * @property string|null $weixin
 * @property string|null $adv_name
 * @property string|null $site_id
 * @property string|null $convert_status
 * @property string|null $date
 * @property string|null $create_time
 * @property string|null $remark_dict
 * @property string|null $address
 * @property string|null $city_name
 * @property string|null $module_id
 * @property string|null $clue_id
 * @property string|null $ad_plan_id
 * @property string|null $form_remark
 * @property string|null $qq
 * @property string|null $remark
 * @property string|null $ad_plan_name
 * @property string|null $name
 * @property string|null $appname
 * @property int|null $gender
 * @property int|null $age
 * @property string|null $cid
 * @property string|null $telphone
 * @property string|null $store_name
 * @property string|null $location
 * @property string|null $req_id
 * @property string|null $clue_type
 * @property string|null $module_name
 * @property string|null $external_url
 * @property string|null $email
 * @property string|null $province_name
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereAdPlanId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereAdPlanName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereAdvId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereAdvName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereAge($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereAppname($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereCid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereCityName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereClueId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereClueSource($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereClueType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereConvertStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereCreateTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereDate($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereEmail($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereExternalUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereFormRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereGender($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereLocation($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereModuleId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereModuleName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereProvinceName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereQq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereRemarkDict($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereReqId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereSiteId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereStoreId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereStoreName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereTelphone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereWeixin($value)
 * @mixin \Eloquent
 * @property string|null $token
 * @property string|null $key
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereKey($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ToutiaoLead whereToken($value)
 */
class ToutiaoLead extends Model
{
    protected $table='5kcrm_toutiao_leader';
    public $timestamps=null;
    protected $fillable=[
        'adv_id',
        'store_id',
        'clue_source',
        'weixin',
        'adv_name',
        'site_id',
        'convert_status',
        'date',
        'create_time',
        'remark_dict',
        'address',
        'city_name',
        'module_id',
        'clue_id',
        'ad_plan_id',
        'form_remark',
        'qq',
        'remark',
        'ad_plan_name',
        'name',
        'appname',
        'gender',
        'age',
        'cid',
        'telphone',
        'store_name',
        'location',
        'req_id',
        'clue_type',
        'module_name',
        'external_url',
        'email',
        'province_name',
        'token',
        'key'
    ];
    public function setRemarkDictAttribute($value)
    {
      $this->attributes['remark_dict'] =json_encode($value);
    }
}
